package com.zmn.oms.services.interfaces.operator;

import com.zmn.oms.model.entity.operator.OrderWorkOperator;

import java.util.List;

/**
 * @author sunlife
 * @date:2021/9/15 5:16 下午
 * description:
 */
public interface OrderWorkOperatorService {
    void insert(OrderWorkOperator operator);
    OrderWorkOperator findByOrderIdAndWorkId(Long orderId, Long workId);

    /**
     * 根据订单id查询操作信息列表（Es同步使用）
     * @param orderIdList
     * @return
     */
    List<OrderWorkOperator> listEsOrderWorkOperatorByOrderIdList(List<Long> orderIdList);

    /**
     * 修改
     * @param orderWorkOperator
     */
    void updateOrderWorkOperator(OrderWorkOperator orderWorkOperator);
}
